package com.zhuiyi.springbootmybatis.service;

import com.zhuiyi.springbootmybatis.entity.Product;

import java.util.List;

public interface ProductService {
    List<Product> getProducts();

    boolean addProduct(Product product);

    boolean delereProductById(int id);

    boolean updateProduct(Product product);

    Product getProductById(int id);
}

